package com.rxyl.love.petdoctor.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by dd on 2016/1/13 0013.
 */
public class FindHospital implements Serializable {


    private int status;
    private String message;


    private DataEntity data;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public String getMessage() {
        return message;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int total;
        private int page;
        private int page_size;
        private int page_total;
        /**
         * id : 907
         * name : 松岗南方宠物医院
         * branch_name : 松岗南方宠物医院
         * address : 平安路
         * summary :
         * telephone : 0755-27092893
         * latitude : 22.775560379028
         * longitude : 113.85739898682
         * city : 深圳
         * region : 宝安区
         * avg_rating : 7.4
         * hours : 尚无营业时间
         * avg_price : 0
         * comment_total : 7
         * photo_url : http://7vzopr.com1.z0.glb.clouddn.com/3d48af70-edc6-ab45-afe0-ce4a37829428.jpg?imageView2/1/w/181/h/138/q/85
         * doctor_total : 1
         * coupon_total : 0
         * coupons : []
         * distance : 28294
         * link : /web.php/hospital?id=907
         */

        private List<ListEntity> list;

        public void setTotal(int total) {
            this.total = total;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public void setPage_total(int page_total) {
            this.page_total = page_total;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public int getTotal() {
            return total;
        }

        public int getPage() {
            return page;
        }

        public int getPage_size() {
            return page_size;
        }

        public int getPage_total() {
            return page_total;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class ListEntity {
            private int id;
            private String name;
            private String branch_name;
            private String address;
            private String summary;
            private String telephone;
            private double latitude;
            private double longitude;
            private String city;
            private String region;
            private double avg_rating;
            private String hours;
            private int avg_price;
            private int comment_total;
            private String photo_url;
            private int doctor_total;
            private int coupon_total;
            private int distance;
            private String link;
            private List<?> coupons;

            public void setId(int id) {
                this.id = id;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setBranch_name(String branch_name) {
                this.branch_name = branch_name;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public void setRegion(String region) {
                this.region = region;
            }

            public void setAvg_rating(double avg_rating) {
                this.avg_rating = avg_rating;
            }

            public void setHours(String hours) {
                this.hours = hours;
            }

            public void setAvg_price(int avg_price) {
                this.avg_price = avg_price;
            }

            public void setComment_total(int comment_total) {
                this.comment_total = comment_total;
            }

            public void setPhoto_url(String photo_url) {
                this.photo_url = photo_url;
            }

            public void setDoctor_total(int doctor_total) {
                this.doctor_total = doctor_total;
            }

            public void setCoupon_total(int coupon_total) {
                this.coupon_total = coupon_total;
            }

            public void setDistance(int distance) {
                this.distance = distance;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public void setCoupons(List<?> coupons) {
                this.coupons = coupons;
            }

            public int getId() {
                return id;
            }

            public String getName() {
                return name;
            }

            public String getBranch_name() {
                return branch_name;
            }

            public String getAddress() {
                return address;
            }

            public String getSummary() {
                return summary;
            }

            public String getTelephone() {
                return telephone;
            }

            public double getLatitude() {
                return latitude;
            }

            public double getLongitude() {
                return longitude;
            }

            public String getCity() {
                return city;
            }

            public String getRegion() {
                return region;
            }

            public double getAvg_rating() {
                return avg_rating;
            }

            public String getHours() {
                return hours;
            }

            public int getAvg_price() {
                return avg_price;
            }

            public int getComment_total() {
                return comment_total;
            }

            public String getPhoto_url() {
                return photo_url;
            }

            public int getDoctor_total() {
                return doctor_total;
            }

            public int getCoupon_total() {
                return coupon_total;
            }

            public int getDistance() {
                return distance;
            }

            public String getLink() {
                return link;
            }

            public List<?> getCoupons() {
                return coupons;
            }
        }
    }
}
